Path 1: 2 calls (1.0)
→ item tuple (2)
↩ return (True, 'console') (2)
1def sort_items(item: Tuple[str, Any]) -> Tuple[bool, str]: 2 """Sort special variables first, then alphabetically.""" 3 key, _ = item 4 return (not key.startswith("__"), key.lower())